<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <%@include file="../common/head.jspf" %>
    </head>
    <body class="communicate-page sb-l-o sb-r-c" data-menu="" data-list="#li_message">
        <!-- 主体内容开始 -->
        <div id="main">
            <!--侧边导航栏-->
            <%@include file="../common/sidebar.jspf" %>
            <!-- Start: Content-Wrapper -->
            <section id="content_wrapper">
                <!-- 顶部导航 -->
                <header id="topbar">
                    <div class="topbar-left">
                        <ol class="breadcrumb">
                            <li class="crumb-active">
                                <span>软擎科技</span>
                            </li>
                            <li class="crumb-icon">
                                <a href="dashboard"><span class="glyphicon glyphicon-home"></span></a>
                            </li>
                            <!-- 当前页 -->
                            <li class="crumb-trail">邮件管理<span style="color: red;">群发前，请先向自己发送邮件，在浏览器、常用客户端(outlook、exchange)看一下效果</span></li>
                        </ol>
                    </div>
                    <div class="topbar-right">
                        <!-- 登录信息 -->
                        <%@include file="../common/session.jspf" %>
                    </div>
                </header>
                <!-- 顶部导航结束 -->
                <!-- 页面内容开始 -->
                <section id="content">
                    <div class="row">
                        <div class="col-md-6">
                            <form class="form-horizontal admin-form mb10 mt20" name="uploadForm" role="form" id="smsForm">
                                <div class="form-group mbn">
                                    <div class="col-md-3 control-label mb10"></div>
                                    <div class="col-md-8 mb10">
                                        <h1 class="text-center text-muted-lighter mb20"><i class="glyphicons glyphicons-phone fs20 mr5"></i>邮件</h1>
                                    </div>
                                </div>
                                <div class="form-group mbn">
                                    <label class="col-md-3 control-label mb10" for="user"><span class="text-danger mr5">*</span>发送用户</label>
                                    <div class="col-md-8 mb10">
                                        <div class="tray-bin mb10 cursor-pointer text-center pt20 text-muted-lighter" id="upZone">
                                            <i class="fa fa-folder-open-o mr10 fs20"></i>点击选择文件
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group mbn">
                                    <label class="col-md-3 control-label" for="title">邮件标题</label>
                                    <div class="col-md-8">
                                        <textarea class="form-control" 
                                                  name="title" 
                                                  rows="4" 
                                                  placeholder="如：title，验证码123456（请勿包含”测试“等敏感词汇）" id="msg-title"></textarea>
                                    </div>
                                </div>
                                <div class="form-group mbn">
                                    <label class="col-md-3 control-label" for="content">邮件内容</label>
                                    <div class="col-md-8">
                                        <textarea class="form-control" 
                                                  name="content" 
                                                  rows="4" 
                                                  placeholder="如：您好，验证码123456（请勿包含”测试“等敏感词汇）" id="msg-content"></textarea>
                                    </div>
                                </div>
                                <input type="file" id="fileInput" style="display: none;"/> 
                            </form>
                            <div class="mt15 row">
                                <div class="col-md-3"></div>
                                <div class="col-md-8 col-xs-8">
                                    <button type="button" class="btn btn-primary btn-block" id="doUploadBtn"><i class="fa fa-check mr10"></i>发送短信</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </section>
                <!-- 页面内容结束 -->
            </section>
        </div>
        <!-- 主体内容结束 -->
        <!-- 公共函数 -->
        <%@include file="../common/scripts.jspf" %>
        <script type="text/javascript" src="${rootPath}/js/pages/communicate/email.js"></script>
    </body>
</html>
